Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes sign in method caching issues #1469 and #1262 #1531

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

TrekSoft
Copy link
Contributor

Currently SIGN_IN_MODE is only set when the user signs in with HostedUI or OAuth leading to a failure in retrieving tokens if the user afterwards ever tries to sign in with UserPools or Federated Identities.

This ensures that the sign in mode is switched when those methods are used.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

@undefobj undefobj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved but should we add a test for this as well? Sounds like it slipped through before and we want to prevent in the future.

@TrekSoft
Copy link
Contributor Author

Thanks @undefobj - I thought about that but at this point don't have the time commitment to write that so feel like it's better to at least stop the bleeding for now and also we're hoping to replace AWSMobileClient anyway

@TrekSoft TrekSoft merged commit 76122cb into master Mar 26, 2020
@karmaobserver
Copy link

Hello @TrekSoft, it passed a few days from release 2.16.10 version and there are change logs but the library is not uploaded on maven repo.

@TrekSoft TrekSoft deleted the ddaudeli/signInCachingBug branch March 30, 2020 17:43
@TrekSoft
Copy link
Contributor Author

Hey @karmaobserver - sorry for that - investigating how it missed getting uploaded to maven.

@karmaobserver
Copy link

Thank you very much, it's up now.

awsmobilesdk pushed a commit to awsmobilesdk/aws-sdk-android that referenced this pull request Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants